package com.yinhai.message.api.vo;

import java.util.List;

import com.yinhai.message.api.bean.TMMessage;
import com.yinhai.message.api.bean.TMUser;
import com.yinhai.message.api.bean.TMWeChat;

/**
 * AMQ消息传递实体
 * @author maxp 2017年3月15日14:48:58
 */
public class TMMessageVo implements ITMMessageVo {

	private static final long serialVersionUID = 1L;
	private TMUser user;//发件人
    private List<TMUser> userlist;//收件人
    private TMMessage message;
    private String ticket;  //接入系统 证书
    
    private TMWeChat wechat;  //发送的微信公众号
    public TMMessageVo() {
    }

	public TMMessageVo(TMUser user, List<TMUser> userlist, TMMessage message, String ticket, TMWeChat wechat) {
		this.user = user;
		this.userlist = userlist;
		this.message = message;
		this.ticket = ticket;
		this.wechat = wechat;
	}

	public TMUser getUser() {
		return user;
	}

	public void setUser(TMUser user) {
		this.user = user;
	}

	public List<TMUser> getUserlist() {
		return userlist;
	}

	public void setUserlist(List<TMUser> userlist) {
		this.userlist = userlist;
	}

	public TMMessage getMessage() {
		return message;
	}

	public void setMessage(TMMessage message) {
		this.message = message;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public TMWeChat getWechat() {
		return wechat;
	}

	public void setWechat(TMWeChat wechat) {
		this.wechat = wechat;
	}

}
